package com.summer.data.dialect.dm;

import com.summer.data.dialect.Dialect;
import com.summer.data.dialect.DialectRouter;

/**
 * @author 345480567@qq.com
 */

public class DmDialectRouter implements DialectRouter {

    public static final String PROD_NAME = "DM";


    public static void reg() {
        // todo:
//        DialectCenter.regDialect("MySQL", instance);
    }


    private static final Dialect defaultDialect = new DmDialect();

    @Override
    public String getName() {
        return PROD_NAME;
    }

    @Override
    public int score() {
        return 0;
    }

    @Override
    public Dialect route(int version) {
        return defaultDialect;
    }

}
